<template>
	<view>
		<view class="goods-box" v-for="(item, index) in 10" :key="index">
			<view class="status fcs">
				<view class="l">
					订单号：5612561656156
				</view>
			</view>
			<view class="goods">
				<view class="img">
					<image class="img"
						src="https://img.js.design/assets/img/668c9ee084a543139ecb06cb.jpg#4daecb55af26b59c4ba5893a9ca94283"
						mode=""></image>
					<div class="giveaway">
						赠品
					</div>
				</view>
				<view class="info">
					<view class="tinfo">
						<view class="t">
							商品名称
						</view>
					</view>
					<view class="binfo">
						<view class="">
							未配送数量：5
						</view>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			};
		}
	}
</script>

<style lang="scss" scoped>
	.goods-box {
		margin-bottom: 21.5rpx;
		background-color: #FFF;
		border-radius: 10rpx;
		padding: 21rpx 35rpx;
		box-sizing: border-box;
		.status {
			margin-bottom: 24rpx;
			.l {
				font-size: 24rpx;
				font-weight: 500;
				color: #333333;
			}
		}
		.goods {
			display: flex;
			align-items: center;
			.info {
				height: 100rpx;
				display: flex;
				flex-direction: column;
				justify-content: space-between;
				.binfo {
					font-size: 24rpx;
					color: #2F2F2F;
					font-weight: 400;
					opacity: 0.6;
				}
		
				.t {
					font-size: 26rpx;
					font-weight: 400;
					color: #1E1E1E;
				}
			}
		
			.img {
				width: 180rpx;
				height: 180rpx;
				border-radius: 10rpx;
				margin-right: 20rpx;
				position: relative;
				.giveaway {
					position: absolute;
					top: 0;
					left: 0;
					background-color: #F3060D;
					font-size: 20rpx;
					color: #FFF;
					border-radius: 10rpx 0 10rpx 0;
					padding: 5rpx 10rpx;
				}
			}
		}
	}
	
</style>

<style lang="scss">
	page {
		background-color: #F4F6F6;
		padding: 20rpx;
		box-sizing: border-box;
	}
</style>